//
//  BookDetailPresenter.h
//  iOSCodeLearning
//
//  Created by TFAppleWork-Summer on 2018/1/10.
//  Copyright © 2018年 Ace. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "BookDetailProtocol.h"
#import "TimeBookModel.h"
#import "MVPViewController.h"

@interface BookDetailPresenter : NSObject

// 依赖倒置原则：尽量面向抽象。
// 面向接口编程。

@property(nonatomic,weak) id <BookDetailProtocol> vc;

- (void)getTimeBookModelWithUrl:(NSString *)url param:(NSDictionary *)param;

- (void)applyToStore:(NSString *)url param:(NSDictionary *)param;

@end
